Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 2 - Core Printing Features / Core Printing Features Reference
Functions / Initializing and Terminating QuickDraw GX Printing Features


GXInitPrinting

You can use the GXInitPrinting function to initialize printing features within QuickDraw GX.

OSErr GXInitPrinting (void);
function result
An error code of type OSErr.
DESCRIPTION
Before you call the GXInitPrinting function, you must call the GXEnterGraphics function to initialize QuickDraw GX. You should also use the Gestalt function to determine whether QuickDraw GX printing features are available on the user's system. The Gestalt selector is 'pmgr'.

SPECIAL CONSIDERATIONS
If the GXInitPrinting function returns an error, you should not attempt to call other QuickDraw GX printing-related functions.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
SEE ALSO
The GXEnterGraphics function that initializes QuickDraw GX is described in Inside Macintosh: Environment and Utilities.

To terminate printing features in QuickDraw GX, use the GXExitPrinting function, which is described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help